import request from '@/utils/request'

// 查询考勤重点关注列表
export function listAttention_student(query) {
  return request({
    url: '/manage/attention_student/list',
    method: 'get',
    params: query
  })
}

// 查询考勤重点关注详细
export function getAttention_student(attentionId) {
  return request({
    url: '/manage/attention_student/' + attentionId,
    method: 'get'
  })
}

// 新增考勤重点关注
export function addAttention_student(data) {
  return request({
    url: '/manage/attention_student',
    method: 'post',
    data: data
  })
}

// 修改考勤重点关注
export function updateAttention_student(data) {
  return request({
    url: '/manage/attention_student',
    method: 'put',
    data: data
  })
}

// 删除考勤重点关注
export function delAttention_student(attentionId) {
  return request({
    url: '/manage/attention_student/' + attentionId,
    method: 'delete'
  })
}
